package com.ruoyi.wechatapi.domain;

import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * @author lzlong
 * @version 1.0
 * @date 2022/6/6 9:16
 * @Description
 */
public class QueryEntity extends BaseEntity {

    // 0、资讯 1、我的课堂 2、我的任务 3、我的消息 4、我的待办
    //@NotBlank(message = "类型不能为空")
    private Integer type;

    private String  userId;

    //当前页
   private Integer pageNum;

    //每页显示条数
    private Integer pageSize;

    // 创建人
    private String createBy;

    // 流程状态
    private String flowStatusOpt;

    private Integer status;

    private String code;

    private String name;

    private  String id;

    private String servicePeriod;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getServicePeriod() {
        return servicePeriod;
    }

    public void setServicePeriod(String servicePeriod) {
        this.servicePeriod = servicePeriod;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getFlowStatusOpt() {
        return flowStatusOpt;
    }

    public void setFlowStatusOpt(String flowStatusOpt) {
        this.flowStatusOpt = flowStatusOpt;
    }
}
